package cn.acmenms.po.enums;

/**
 * @ClassName: OrderByEnum
 * @Description: 结果集排序
 * @author: 神奇的鸭鸭
 * @Date: 2017/12/28 13:42
 */
public enum OrderByEnum {

    LAST_LOGIN_TIME_DESC("last_login_time DESC", "最后登录时间顺序");

    private String orderBy;
    private String desc;

    OrderByEnum(String orderBy, String desc) {
        this.orderBy = orderBy;
        this.desc = desc;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}